import React, { Component } from 'react'
import classnames from 'classnames'
import f from './export1'

export class App extends Component {
  constructor () {
    super()
    console.log('construct', f)
  }
  render() {
    let dom = React.createElement(
      'h1',
      {
        className: 'title'
      },
      'jsx原理'
    )
    console.log('dom', dom)
    return (
      <div>
        <h1 className={classnames('a', {'b': true}, {'c':false})}>wdwd</h1>
      </div>
    )
  }
}

export default App
